﻿using MES.Desktop.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MES.Desktop.IService
{
    public interface IPostService
    {
        IEnumerable<PostEntity> GetAllPosts(string key = "");

        int UpdatePost(PostEntity post);

        int DeletePosts(string[] id);
        bool CheckName(string name, int id);
    }
}
